package analyser;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import collector.Collector;
@Service
public class FactoryAnalyser implements Analyser {
	
	private Collector collector;
	
	public void setCollector(Collector collector) {
		this.collector = collector;
	}

	@Override
	public void analyse() {
		collector.collect();
		System.out.println("factory analysing.....");

	}

}
